package com.atguigu.dao;

import com.atguigu.entity.RolePermission;

import java.util.List;

/**
 * @title：
 * @author：Yu
 * @create：2023-03-01 10:14
 * @description：
 */
public interface RolePermissionDao extends BaseDao<RolePermission> {
    List<Long> findPermissionIdByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);

    void insertDate(Long roleId, Long permissionId);
}
